<template>
 <div>
  <h3>下拉菜单的封装 - {{ cityId }}</h3>
  <!-- <HmSelect :value="cityId" @input="input"></HmSelect> -->
  <HmSelect v-model="cityId"></HmSelect>
 </div>
</template>

<script>
import HmSelect from './components/hm-select.vue'

export default {
  components:{
    HmSelect,
  },
  data() {
    return {
      cityId: '107'
    }
  },
  methods:{
    input(num){
      this.cityId=num
    }
  }
}
</script>

<style scoped>

</style>
